@echo off
:: if environment isn't setup, set it up now
IF NOT DEFINED gpath ( 
    call setenviron
)

:: if argument isn't specified assume debug target
IF [%1] == [] (
    "%vcppath%"\x64\debug\graphics.exe
    goto :eof
) ELSE ( 
    "%vcppath%"\x64\%1\graphics.exe
)
:eof
::end of file
